package animal;

public class Animal {

	private String name;
	 
    public Animal(String name) {
            this.name = name;
    }

    public String talk() {
            throw new UnsupportedOperationException("animals can't talk (except in cartoons)");
    }

    public String getName() {
            return name;
    }
}
